package cn.tjd.smart_health.api;


import cn.tjd.smart_health.common.entity.Setmeal;
import cn.tjd.smart_health.common.pojo.PageSelect;

import java.util.List;

public interface SetMealService {
    String uploadImg(byte[] file,String fileName);

    PageSelect<Setmeal> findPage(Integer currentPage ,Integer pageSize , String  QueryString);

    Integer saveSetMeal(Setmeal setmeal, Integer[] checkGroups);

    Setmeal findById(Integer id);

    List<Integer> findCheckgroupIdsByMealId(Integer id);

    Integer editSetMeal(Setmeal setmeal, Integer[] checkGroups);

    Integer deleteSetMeal(Integer setmeal);
}
